package com.eshop.modules.customer.service.dto;

import java.util.Date;
import java.io.Serializable;

public class StoreCustomerDto implements Serializable
{
    private Long id;
    private String nickName;
    private String openId;
    private String remark;
    private Date createTime;
    private Date updateTime;
    private Integer isDel;
    private Integer isEnable;
    
    public Long getId() {
        return this.id;
    }
    
    public String getNickName() {
        return this.nickName;
    }
    
    public String getOpenId() {
        return this.openId;
    }
    
    public String getRemark() {
        return this.remark;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public Integer getIsDel() {
        return this.isDel;
    }
    
    public Integer getIsEnable() {
        return this.isEnable;
    }
    
    public void setId(final Long id) {
        this.id = id;
    }
    
    public void setNickName(final String nickName) {
        this.nickName = nickName;
    }
    
    public void setOpenId(final String openId) {
        this.openId = openId;
    }
    
    public void setRemark(final String remark) {
        this.remark = remark;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public void setIsDel(final Integer isDel) {
        this.isDel = isDel;
    }
    
    public void setIsEnable(final Integer isEnable) {
        this.isEnable = isEnable;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof StoreCustomerDto)) {
            return false;
        }
        final StoreCustomerDto other = (StoreCustomerDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0102: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0102;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$isEnable = this.getIsEnable();
        final Object other$isEnable = other.getIsEnable();
        Label_0139: {
            if (this$isEnable == null) {
                if (other$isEnable == null) {
                    break Label_0139;
                }
            }
            else if (this$isEnable.equals(other$isEnable)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$nickName = this.getNickName();
        final Object other$nickName = other.getNickName();
        Label_0176: {
            if (this$nickName == null) {
                if (other$nickName == null) {
                    break Label_0176;
                }
            }
            else if (this$nickName.equals(other$nickName)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$openId = this.getOpenId();
        final Object other$openId = other.getOpenId();
        Label_0213: {
            if (this$openId == null) {
                if (other$openId == null) {
                    break Label_0213;
                }
            }
            else if (this$openId.equals(other$openId)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$remark = this.getRemark();
        final Object other$remark = other.getRemark();
        Label_0250: {
            if (this$remark == null) {
                if (other$remark == null) {
                    break Label_0250;
                }
            }
            else if (this$remark.equals(other$remark)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0287: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0287;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$updateTime = this.getUpdateTime();
        final Object other$updateTime = other.getUpdateTime();
        if (this$updateTime == null) {
            if (other$updateTime == null) {
                return true;
            }
        }
        else if (this$updateTime.equals(other$updateTime)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof StoreCustomerDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $isEnable = this.getIsEnable();
        result = result * 59 + (($isEnable == null) ? 43 : $isEnable.hashCode());
        final Object $nickName = this.getNickName();
        result = result * 59 + (($nickName == null) ? 43 : $nickName.hashCode());
        final Object $openId = this.getOpenId();
        result = result * 59 + (($openId == null) ? 43 : $openId.hashCode());
        final Object $remark = this.getRemark();
        result = result * 59 + (($remark == null) ? 43 : $remark.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $updateTime = this.getUpdateTime();
        result = result * 59 + (($updateTime == null) ? 43 : $updateTime.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "StoreCustomerDto(id=" + this.getId() + ", nickName=" + this.getNickName() + ", openId=" + this.getOpenId() + ", remark=" + this.getRemark() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ", isDel=" + this.getIsDel() + ", isEnable=" + this.getIsEnable() + ")";
    }
}
